package com.study.design.model.behaviorPattern.state;

/**
* @Name: HomeContext
* @Description: 状态修改类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-15 下午9:45:49 
* @Version: V1.0
 */
public class HomeContext {
	
	private State state ;
	
	public void setState(State state) {
		System.out.println("修改状态！");
		this.state = state ;
		state.handle() ;
	}

}
